package com.andyage.admin.action;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.andyage.admin.service.IAdReceiverAddressService;
import com.andyage.admin.bean.AdreceiveraddressBean;

@Controller
@RequestMapping("/admin")
public class AdReceiverAddressAction {
	@Resource
	private IAdReceiverAddressService addressService;
	@RequestMapping("/queryReceiverAddress")
	public void queryReceiverAddress(AdreceiveraddressBean addressbean,HttpServletResponse response) throws Exception {
		String json=addressService.queryReceiverAddress(addressbean);
		response.setContentType("text/html;charset=utf-8");
		response.getWriter().print(json);
	}
}
